<template>
    <el-form :model="form"   label-width="80px" :inline="false" size="normal">
        <el-form-item >
            <Editor v-model="form.content"/>
        </el-form-item>
        <el-form-item>
            <el-button type="primary" @click="submit">提交</el-button>
            <el-button>取消</el-button>
        </el-form-item>
    </el-form>
    
</template>

<script setup>
import { ref,reactive} from 'vue'
import Editor from '@/components/Editor.vue'
const form = reactive({content:""})
const submit = ()=>{
    console.log(form)
}
</script>